<!-- 1、三级联动问题 
	 2、日期选择器问题
	 3、name问题
-->

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <base href="<%=basePath%>">
  <title>layuiAdmin 主页示例模板一</title>


  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  
	<script type="text/javascript" src="js/jquery.js"></script>
  	
	<!-- 日期选择 -->
	<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
    
    <link rel="stylesheet" href="main/layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="main/layuiadmin/style/admin.css" media="all">
</head>
<body>

  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md8">    
        <div class="layui-card">
          <div class="layui-card-header">
            最近更新
          </div>
				<div class="layui-card-body">
					<form class="layui-form" action="" >
						<div class="layui-form-item">
							<label class="layui-form-label">客户名</label>
							<div class="layui-input-block">
								<input type="text" name="title" lay-verify="title"
									autocomplete="off" placeholder="请输入客户名" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">联系方式</label>
								<div class="layui-input-inline">
									<input type="tel" name="phone" lay-verify="required|phone"
										autocomplete="off" class="layui-input">
								</div>
							</div>
							<div class="layui-inline">
								<label class="layui-form-label">邮箱</label>
								<div class="layui-input-inline">
									<input type="text" name="email" lay-verify="email"
										autocomplete="off" class="layui-input">
								</div>
							</div>
						</div>

						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">客户生日</label>
								<div class="layui-input-inline">
								<input name="birth" class="layui-input easyui-datebox" label="Start Date:"value="" >
									<input type="text" name="date" id="date" lay-verify="date"
										placeholder="yyyy-MM-dd" autocomplete="off"
										class="layui-input">
								</div>
							</div>
							
						</div>
							<!-- 地址选择 -->
							<div class="layui-form-item">
								<label class="layui-form-label">客户住址</label>
								<div class="layui-form-item">
			    	<div class="layui-input-inline">
			    		<select name="P1" lay-filter="province">
			    			<option></option>
			    		</select>
			    	</div>
			    	<div class="layui-input-inline">
			    		<select name="C1" lay-filter="city">
			    			<option></option>
			    		</select>
			    	</div>
			    	<div class="layui-input-inline">
			    		<select name="A1" lay-filter="area">
			    			<option></option>
			    		</select>
			    	</div>
			    </div>
							</div>
							
							<div class="layui-form-item">
							<div class="layui-inline">
								<input type="submit" id="" name="" value="提交" class="layui-btn" style="margin-left: 50px" />
							</div>
							
						</div>
							
						</form>
					</div>
				</div>    
      </div>
      <div class="layui-col-md4">
        <div class="layui-card">
          <div class="layui-card-header">便捷导航</div>
          <div class="layui-card-body">
            <div class="layuiadmin-card-link">
              <a href="javascript:;">操作一</a>
              <a href="javascript:;">操作二</a> 
              <a href="javascript:;">操作三</a> 
              <a href="javascript:;">操作四</a> 
              <a href="javascript:;">操作五</a> 
              <a href="javascript:;">操作六</a>
              <button class="layui-btn layui-btn-primary layui-btn-xs">
                <i class="layui-icon layui-icon-add-1" style="position: relative; top: -1px;"></i>添加
              </button>
            </div>        
          </div>
        </div>
        <div class="layui-card">
          <div class="layui-card-header">重点组件</div>
          <div class="layui-card-body">
            <ul class="layui-row layuiadmin-card-team">
              <li class="layui-col-xs6">
                <a lay-href="https://www.layui.com/doc/modules/table.html">
                  <span class="layui-team-img"><img src="../../layuiadmin/style/res/logo.png"></span> 
                  <span>数据表格</span>
                </a>
              </li>
              <li class="layui-col-xs6">
                <a lay-href="https://www.layui.com/doc/modules/layim.html">
                  <span class="layui-team-img"><img src="../../layuiadmin/style/res/logo.png"></span> 
                  <span>即时通讯</span>
                </a>
              </li>
              <li class="layui-col-xs6">
                <a lay-href="https://www.layui.com/doc/modules/form.html">
                  <span class="layui-team-img"><img src="../../layuiadmin/style/res/logo.png"></span> 
                  <span>表单</span>
                </a>
              </li>
              <li class="layui-col-xs6">
                <a lay-href="https://www.layui.com/doc/modules/layer.html">
                  <span class="layui-team-img"><img src="../../layuiadmin/style/res/logo.png"></span> 
                  <span>弹出层</span>
                </a>
              </li>
              <li class="layui-col-xs6">
                <a lay-href="https://www.layui.com/doc/modules/upload.html">
                  <span class="layui-team-img"><img src="../../layuiadmin/style/res/logo.png"></span> 
                  <span>文件上传</span>
                </a>
              </li>
              <li class="layui-col-xs6">
                <a lay-href="https://www.layui.com/doc/modules/rate.html">
                  <span class="layui-team-img"><img src="../../layuiadmin/style/res/logo.png"></span> 
                  <span>评分</span>
                </a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>




  <script src="main/layuiadmin/layui/layui.js"></script>  
  <script src="js/auth.js"></script>
  
  <script>
  layui.config({
    base: 'main/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'sample']);
  </script>
  
  	    <!-- 地址选择 -->
	<script type="text/javascript" src="js/citys.js"></script>
	<script type="text/javascript">
			pca.init('select[name=P1]', 'select[name=C1]', 'select[name=A1]');
		</script>
  
  
</body>
</html>